package com.ruike.alisurface.bean;

import java.util.List;

public class IdcardBean {


    /**
     * address : 浙江省永嘉县碧莲镇澄田村澄川中路53号
     * angle : 0
     * birth : 19891130
     * card_region : [{"x":80,"y":158},{"x":1517,"y":174},{"x":1542,"y":1118},{"x":44,"y":1101}]
     * config_str : {"side":"face"}
     * face_rect : {"angle":0,"center":{"x":1212,"y":589},"size":{"height":464,"width":542}}
     * face_rect_vertices : [{"x":981,"y":317},{"x":1446,"y":319},{"x":1444,"y":861},{"x":979,"y":860}]
     * is_fake : false
     * name : 陈建领
     * nationality : 汉
     * num : 330324198911306650
     * request_id : 5484105A-56D2-4C02-8BB2-7271BDD0FF3A
     * sex : 男
     * success : true
     */

    private String address;
    private int angle;
    private String birth;
    private String config_str;
    private FaceRectBean face_rect;
    private boolean is_fake;
    private String name;
    private String nationality;
    private String num;
    private String request_id;
    private String sex;

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    private String age;
    private boolean success;
    private List<CardRegionBean> card_region;
    private List<FaceRectVerticesBean> face_rect_vertices;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAngle() {
        return angle;
    }

    public void setAngle(int angle) {
        this.angle = angle;
    }

    public String getBirth() {
        return birth;
    }

    public void setBirth(String birth) {
        this.birth = birth;
    }

    public String getConfig_str() {
        return config_str;
    }

    public void setConfig_str(String config_str) {
        this.config_str = config_str;
    }

    public FaceRectBean getFace_rect() {
        return face_rect;
    }

    public void setFace_rect(FaceRectBean face_rect) {
        this.face_rect = face_rect;
    }

    public boolean isIs_fake() {
        return is_fake;
    }

    public void setIs_fake(boolean is_fake) {
        this.is_fake = is_fake;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getRequest_id() {
        return request_id;
    }

    public void setRequest_id(String request_id) {
        this.request_id = request_id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<CardRegionBean> getCard_region() {
        return card_region;
    }

    public void setCard_region(List<CardRegionBean> card_region) {
        this.card_region = card_region;
    }

    public List<FaceRectVerticesBean> getFace_rect_vertices() {
        return face_rect_vertices;
    }

    public void setFace_rect_vertices(List<FaceRectVerticesBean> face_rect_vertices) {
        this.face_rect_vertices = face_rect_vertices;
    }

    public static class FaceRectBean {
        /**
         * angle : 0
         * center : {"x":1212,"y":589}
         * size : {"height":464,"width":542}
         */

        private int angle;
        private CenterBean center;
        private SizeBean size;

        public int getAngle() {
            return angle;
        }

        public void setAngle(int angle) {
            this.angle = angle;
        }

        public CenterBean getCenter() {
            return center;
        }

        public void setCenter(CenterBean center) {
            this.center = center;
        }

        public SizeBean getSize() {
            return size;
        }

        public void setSize(SizeBean size) {
            this.size = size;
        }

        public static class CenterBean {
            /**
             * x : 1212
             * y : 589
             */

            private int x;
            private int y;

            public int getX() {
                return x;
            }

            public void setX(int x) {
                this.x = x;
            }

            public int getY() {
                return y;
            }

            public void setY(int y) {
                this.y = y;
            }
        }

        public static class SizeBean {
            /**
             * height : 464
             * width : 542
             */

            private int height;
            private int width;

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getWidth() {
                return width;
            }

            public void setWidth(int width) {
                this.width = width;
            }
        }
    }

    public static class CardRegionBean {
        /**
         * x : 80
         * y : 158
         */

        private int x;
        private int y;

        public int getX() {
            return x;
        }

        public void setX(int x) {
            this.x = x;
        }

        public int getY() {
            return y;
        }

        public void setY(int y) {
            this.y = y;
        }
    }

    public static class FaceRectVerticesBean {
        /**
         * x : 981
         * y : 317
         */

        private int x;
        private int y;

        public int getX() {
            return x;
        }

        public void setX(int x) {
            this.x = x;
        }

        public int getY() {
            return y;
        }

        public void setY(int y) {
            this.y = y;
        }
    }
}
